home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / kbd.postinst < prev    next >
Text File  |  2008-09-25  |  583b  |  25 lines

  1. #! /bin/sh -e
  2.  
  3. # Move the init script symlink
  4. if [ -L /etc/rcS.d/S48console-screen.kbd.sh ]; then
  5.     update-rc.d -f console-screen.kbd.sh remove
  6. fi
  7.  
  8. if type update-initramfs >/dev/null 2>&1; then
  9.     update-initramfs -u
  10. fi
  11.  
  12. # Automatically added by dh_installinit
  13. if [ -x "/etc/init.d/console-screen.kbd.sh" ]; then
  14.     update-rc.d console-screen.kbd.sh start 90 S . >/dev/null
  15.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  16.         invoke-rc.d console-screen.kbd.sh start || exit $?
  17.     else
  18.         /etc/init.d/console-screen.kbd.sh start || exit $?
  19.     fi
  20. fi
  21. # End automatically added section
  22.  
  23.  
  24. exit 0
  25.